package com.work.libtest2.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.work.libtest2.entity.ExtraWorkType;

import java.util.List;

/**
 * ClassName: ExtraWorkTypeService
 * Package: com.work.libtest2.service
 * Description:
 *
 * @Author
 * @Create 2024/6/10 14:38
 * @Version 1.0
 */
public interface ExtraWorkTypeService {
    IPage<ExtraWorkType> getPage(Integer currentPage, Integer pageSize,ExtraWorkType extraWorkType);

    int addEWType(ExtraWorkType extraWorkType);

    ExtraWorkType getEWById(Integer ewTypeId);

    int updateEWById(ExtraWorkType extraWorkType);

    int deleteById(Integer ewTypeId);

    List<ExtraWorkType> getAll();

}
